package com.gh.repository;

import com.gh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    Department getDepartmentByhoscodeAndDepcode(String hoscode, String depcode);

    Department getDepartmentByHoscode(String hoscode);

}
